package cn.iocoder.yudao.module.myerp.controller.admin.SKCproduct.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - ERP SKC级产品新增/修改 Request VO")
@Data
public class ErpProductSkcSaveReqVO {

    @Schema(description = "产品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2540")
    private Long id;

    @Schema(description = "SKC", requiredMode = Schema.RequiredMode.REQUIRED, example = "2540")
    @NotNull(message = "SKC不能为空")
    private Long skc;

    @Schema(description = "轮播首图", requiredMode = Schema.RequiredMode.REQUIRED, example = "img/xxx.png")
    @NotEmpty(message = "轮播首图不能为空")
    private String img;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private Integer status;

    @Schema(description = "成本", example = "50")
    private BigDecimal purchasePrice;

    @Schema(description = "报价", example = "90")
    private BigDecimal salePrice;

}